﻿namespace Service.Core.Utils.VerificationCodeUtil
{
    /// <summary>
    /// 验证码接口
    /// </summary>
    public interface IVerificationCodeService
    {
        /// <summary>
        /// 根据验证码类型生成验证码
        /// </summary>
        /// <param name="type"></param>
        /// <returns>1、验证码标识  2、验证码base64</returns>
        Task<VerfyCode> CreateVerificationCode();

    }
}
